import cardApi from '@/types/sgs/lib.card'
import $ajax from '../api/index'

class api implements cardApi {
    public async getCardsList() {
        const res = await $ajax.get({
            url: 'cards/getCards',
            data: {}
        })
        return <any>res.data
    }
}

export default <cardApi>(new api())